/**
 * 选择贷款方式控制器
 */
export default ['$scope','$rootScope','$location','$ui',function($scope,$rootScope,$location,$ui) {

	
    $scope.loanType = {}
    $scope.loanState = 3 //默认信贷 //借款类型(1.车贷 2房贷 3信贷)
    $scope.loanType.xin = true
    $scope.loanSelect = function(par, state){
        $_fn.applyShow(par, $scope.loanType) 
        $scope.loanState = state
    }
}]
